package com.sudo.dao.admin.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Table(name = "sys_user_sts_month")
public class SysUserStsMonth {
    @Id
    private Integer id;

    // 哪一年
    @Column(name = "year")
    private Integer year;

    // 几月份
    @Column(name = "month")
    private Integer month;

    // 开始日期
    @Column(name = "start_date")
    private LocalDate startDate;

    // 结束日期
    @Column(name = "end_date")
    private LocalDate endDate;

    // 登录人数
    @Column(name = "login_nop")
    private Integer loginNop = 0;

    // 登录次数
    @Column(name = "login_not")
    private Integer loginNot = 0;

    // 创建时间
    @Column(name = "num_behavior")
    private Integer numBehavior = 0;

    //活跃度（即操作数）
    @Column(name = "create_time")
    private LocalDateTime createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }

    public LocalDate getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDate endDate) {
        this.endDate = endDate;
    }

    public Integer getLoginNop() {
        return loginNop;
    }

    public void setLoginNop(Integer loginNop) {
        this.loginNop = loginNop;
    }

    public Integer getLoginNot() {
        return loginNot;
    }

    public void setLoginNot(Integer loginNot) {
        this.loginNot = loginNot;
    }

    public Integer getNumBehavior() {
        return numBehavior;
    }

    public void setNumBehavior(Integer numBehavior) {
        this.numBehavior = numBehavior;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public SysUserStsMonth() {
    }

    public SysUserStsMonth(int year, int month) {
        this.year = year;
        this.month = month;
    }
}
